package com.example.zg.zg_312_ordering_new.services;


import com.example.zg.zg_312_ordering_new.beans.ChangeBean;
import com.example.zg.zg_312_ordering_new.beans.UserinfoBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface UserinfoService {
    //获取用户信息
    @GET("getUserById.do")
    Call<UserinfoBean> getUserById(@Query("user_id") int user_id);

    //修改用户信息
    @GET("updateUserById.do")
    Call<ChangeBean> updateUserById(@Query("user_id") int user_id, @Query("username") String username, @Query("userpass") String userpass, @Query("mobilenum") String mobilenum, @Query("address") String address);

}
